Skip to main content

end if

Type​

keyword

Summary​

Ends an if control structure.

Syntax​

end if

Description​

Use the end if keyword to mark the end of an if control structure.

The end if keyword is used only with certain forms of the if control structure. If the entire if control structure is on one line, or if the else clause is on one line, the end if keyword is not used.

The end if keyword occurs on a line by itself.

Examples​

end if

control structure: if, break

glossary: keyword, control structure

keyword: then, end, else, control

Compatibility and Support​

Introduced

LiveCode 1.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?